package com.clf.springBoot.modules.test.service;

import com.clf.springBoot.modules.common.vo.Result;
import com.clf.springBoot.modules.common.vo.Search;
import com.clf.springBoot.modules.test.entity.Student;
import org.springframework.data.domain.Page;

public interface StudentService {


    Result<Student> editStudent(Student student);

    Student getStudentById(int id);

    Student getStudentByStudentName(String studentName);

    Result<Student> updateStudent(Student student);

    Page<Student> getStudentsBySearch(Search search);

}
